package com.huike.controller.index;

import com.huike.common.result.Result;
import com.huike.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/index")
public class IndexController {
    @Autowired
    private IndexService indexService;

    /**
     * 基础数据展示
     * @return
     */
    @GetMapping("/basicData")
    public Result basicData() {

        return null;
    }

    /**
     * 今日简报
     * @return
     */
    @GetMapping("/todayBulletin")
    public Result todayBulletin() {

        return null;
    }

    /**
     * 代办事项
     * @return
     */
    @GetMapping("/backlog")
    public Result backlog() {

        return null;
    }


    /**
     * 销售漏斗
     * @return
     */
    @GetMapping("/salesFunnel")
    public Result salesFunnel() {

        return null;
    }


    /**
     * 销售排行
     * @return
     */
    @GetMapping("/topSales")
    public Result topSales() {

        return null;
    }


}
